﻿using Fabrication.DataSources;

namespace Fabrication.ValueProviders
{
    internal class DefaultCharProvider : ValueProviderBase<char>
    {
        protected override char GetValue(object item)
        {
            var alphabet = Characters.EnglishCharacters;
            return alphabet[RandomNumberGenerator.GetInteger(0, alphabet.Count - 1)];
        }
    }
}